package com.auxgroup.hr.front.dao.domain;

import java.io.Serializable;

import org.apache.commons.lang.builder.ToStringBuilder;



public class PsRsHirePhotoPrimary implements Serializable {
	
	private static final long serialVersionUID = -3907461481245970173L;

	private String photoSizename;

	private String rsHireId;

	public String getPhotoSizename() {
		return photoSizename;
	}

	public void setPhotoSizename(String photoSizename) {
		this.photoSizename = photoSizename;
	}

	public String getRsHireId() {
		return rsHireId;
	}

	public void setRsHireId(String rsHireId) {
		this.rsHireId = rsHireId;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#hashCode()
	 */
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result
				+ ((photoSizename == null) ? 0 : photoSizename.hashCode());
		result = prime * result
				+ ((rsHireId == null) ? 0 : rsHireId.hashCode());
		return result;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#equals(java.lang.Object)
	 */
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		PsRsHirePhotoPrimary other = (PsRsHirePhotoPrimary) obj;
		if (photoSizename == null) {
			if (other.photoSizename != null)
				return false;
		} else if (!photoSizename.equals(other.photoSizename))
			return false;
		if (rsHireId == null) {
			if (other.rsHireId != null)
				return false;
		} else if (!rsHireId.equals(other.rsHireId))
			return false;
		return true;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}

}